package com.shigu.admin.manager.vo;


import com.opentae.data.mall.beans.UserRole;

import java.util.Date;
import java.util.List;

/**
 * 用户值显示
 * Created by zhaohongbo on 16/5/12.
 */
public class UserVO {

    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 昵称
     */
    private String nick;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 角色s
     */
    private List<UserRole> roleNames;
    /**
     * 状态，1为可用，0为停用
     */
    private Integer status;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<UserRole> getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(List<UserRole> roleNames) {
        this.roleNames = roleNames;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
